package com.ry.est;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author ry
 * @since 2021-11-01 17:03
 **/
//通过注解指定要扫描mapper接口
@MapperScan(basePackages = {"com.ry.est.dao"})
@SpringBootApplication
@EnableTransactionManagement
public class EstApplication {
    public static void main(String[] args) {
        SpringApplication.run(EstApplication.class,args);
    }
}
